<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'myorder.jsp' starting page</title>
  </head>
  <body>
  <%@include file="daohang.jsp" %>
  <table border="1" width="70%">
  <tr>
  		<td>订单ID</td>
  		<td>商品名称</td>
  		<td>下单日期</td>
  		<td>状态</td>
  		<td>订单总价</td>
  </tr>
  <%
  		List<Map<String,Object>> list=(List<Map<String,Object>>)request.getAttribute("list");
   		for(Map<String,Object> map:list){
   %>
  
  <tr>
  		<td><a href="detailorder.jspx"><%=map.get("id") %></a></td>
  		<td><%=map.get("names") %></td>
  		<td><%=map.get("createtime") %></td>
  		<td><%=map.get("state") %></td>
  		<td><%=map.get("total") %></td>
  </tr>
  <%} %>
  </table>
  </body>
</html>
